<% if user_signed_in? && current_user.client? %>
    <%= render :partial => 'detail_private_view' %>
<% else %>
    <%= render :partial => 'detail_public_view' %>
<% end %>